package com.qdxwx.data.service.course;

import com.qdxwx.common.page.PageRequest;
import com.qdxwx.models.course.CourseNote;

import java.util.List;

/**
 * CourseNoteService接口
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
public interface CourseNoteService {

	int insert(CourseNote courseNote);

	CourseNote getCourseNote(Long userId, Integer nodeId);

	List<CourseNote> getList(CourseNote courseNote, PageRequest pageRequest);

	void delete(Long id);

	int count(CourseNote courseNote);
}